<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:fielderror/>

<p class="listName"><s:text name="node.list.nodes" /></p>
<s:if test="nodes.size > 0">
	<div class="list">
		<s:iterator value="nodes">
			<div id="node_<s:property value="id"/>" class="listItem">
				<div class="itemProperty">
					<s:property value="identCode" />
				</div>
				<div class="itemProperty">
					<s:property value="serialInterface" />
				</div>
				<div class="itemProperty">
					<s:property value="divisor" />
				</div>
				<div class="itemProperty">
					<s:property value="timeInterval" />
				</div>
				<div class="itemAction">
					<s:url id="removeUrl" action="removeNode">
						<s:param name="id" value="id" />
					</s:url>
					<s:a href="%{removeUrl}" theme="ajax" targets="nodes"><s:text name="node.list.item.remove" /></s:a>
					<s:a id="n_%{id}" theme="ajax" notifyTopics="/editNode"><s:text name="node.list.item.edit" /></s:a>
				</div>
			</div>
		</s:iterator>
	</div>
</s:if>
